﻿using Shop.Model.SkuSpec;
using Shop.Repository;

namespace Shop.Collect.lmpl
{
    internal class SkuSpecCollect : ISkuSpecCollect
    {
        private readonly IGoodsSkuSpecRepository _Repository;

        public SkuSpecCollect (IGoodsSkuSpecRepository repository)
        {
            this._Repository = repository;
        }

        public SkuSpecDto[] Gets (long goodsId)
        {
            return this._Repository.Gets(goodsId);
        }
    }
}
